const version = '3'

// 开发环境才提示，生产环境不会提示
if (process.env.NODE_ENV === 'development') {
	console.log(`\n %c lxui-uni V${version} %c https://blog.csdn.net/qq_51091386/article/details/138125947 \n\n`, 'color: #ffffff; background: #3c9cff; padding:5px 0;', 'color: #3c9cff;background: #ffffff; padding:5px 0;');
}

export let uploadUrl = '/api/v1.Resources/upload'
export let uploadBaseUrl = ''
const setConfig = (config: any) => {
    console.log(config)
    if (config?.uploadUrl) {
        uploadUrl = config.uploadUrl
    }
    if (config?.uploadBaseUrl) {
        uploadBaseUrl = config.uploadBaseUrl
    }
}
export default {
    version,
    setConfig
}